package edu.hm.vss.producerConsumer;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author yasser
 */
public class Main {

    public static void main(String... args) {
        Buffer data = Buffer.getInstance(10, 10);

        try {
            Thread.sleep(3000);
            data.requestStop();
        } catch (InterruptedException ex) {
            Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
}
